package org.example.musicserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.musicserver.Request.PlayListRequest;
import org.example.musicserver.common.Result;
import org.example.musicserver.entity.PlayList;

import java.util.List;

public interface PlayListService extends IService<PlayList> {
    //返回所有歌单
    List<PlayList> getAllPlayList(String query);
    Result playListOfId(Integer id);
    Result deletePlayList(Integer id);
    Result deletePlayLists(List<Integer> playIds);
    Result addPlayList(PlayListRequest registryRequest);
    Result updatePlayList(PlayListRequest updateRequest);

    Result selectByIds(List<Integer> ids);
}
